﻿<?php 

	include 'common.php';

	//分配变量
	$s->assign('title','超全局');
	//通用方式
	$a = $_GET['a'];

	$s->assign('a',$a);

	$_POST['b'] = 200;

	//cookie
	setCookie('c',300,time()+10*60);
	// echo 123;
	//session
	session_start();

	$_SESSION['d'] = 400;


	//解析模板
	$s->display('3.html');



ses